import javafx.concurrent.Task;

import java.util.Timer;
import java.util.concurrent.*;

/**
 * Creater with IntelliJ IDEA.
 * Description:
 * User: 86152
 * Dae: 2022-07-31
 * Time: 23:54
 */
public class demo6 {
    public static void main(String[] args) {
        BlockingQueue s = new LinkedBlockingDeque(10);
        ExecutorService pool = new ThreadPoolExecutor(5,10,0L, TimeUnit.MILLISECONDS,new LinkedBlockingQueue<Runnable>(10),new ThreadPoolExecutor.DiscardPolicy());

    }
}
